import { BaseController, CoolController } from "@cool-midway/core";
import { OrderLogisticsEntity } from "../../entity/logistics";
import { OrderLogisticsService } from "../../service/logistics";

/**
 * 订单物流
 */
@CoolController({
    api: ['add', 'delete', 'update', 'info', 'list', 'page'],
    entity: OrderLogisticsEntity,
    service: OrderLogisticsService,
    serviceApis: [
        'bindTracking'
    ],
    pageQueryOp: {
        fieldEq: ['a.orderId', 'a.itemId']
    }
})
export class ProviderOrderLogisticsController extends BaseController { }


